﻿@model IEnumerable<StoreApp.Models.Product>
<table>
    <tr>
        <th>
            Ürün Adı
        </th>
        <th>
            Fiyat
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @String.Format("{0:C}", @item.Price)
            </td>
        </tr>
    }
</table>
